package com.cn.service.fallback;

import com.cn.domain.Video;
import com.cn.service.VideoService;
import org.springframework.stereotype.Service;

/**
 * @author 伍崇武
 * @date 2021-10-08 0008 - 下午 4:49
 */
@Service
public class VideoServiceFallBack implements VideoService {
    @Override
    public Video findById(int videoId) {
        Video video = new Video();
        video.setTitle("FallBack的服务");
        return video;
    }

    @Override
    public Object postTest(Video video) {
        return null;
    }
}
